function ngdomTriggerAudioCue(options) {
	ngdomTriggerAudioCue.prototype.base.constructor.call(this);
	if (!this.engine) return;
	if (!options) options = {};
	
	this.audioPlay = options.audioPlay;
	this.audioStop = options.audioStop;
	this.duration = isNaN(options.duration) ? 0 : options.duration;
	this.onceOnly = !!options.once;
}
ngdomTriggerAudioCue.inherits(ngdomTrigger);
ngdomTriggerAudioCue.prototype.enterScene = function () { 
	var that = this;
	if (!this.audioStop && !$.isEmptyObject(this.engine.ambience.sounds)) {
		this.audioStop = [];
		$.each(this.engine.ambience.sounds, function (key, sound) {
			that.audioStop[that.audioStop.length] = key;
		});
	}
	if (this.audioPlay) {
		if (!$.isArray(this.audioPlay)) this.audioPlay = [this.audioPlay];
		$.each(this.audioPlay, function (index, audio) {
			if (that.engine.ambience) {
				if (typeof(audio) == 'string') {
					if (that.duration == 0) that.engine.ambience.play(audio); 
					else that.engine.ambience.fadeIn(audio, that.duration);
					if ($.isArray(that.audioStop) && that.audioStop.indexOf(audio) > -1) 
						that.audioStop[that.audioStop.indexOf(audio)] = false;
				}
				else if (that.audioPlay[index]) {
					if (that.duration == 0) that.audioPlay[index].play();
					else that.audioPlay[index].fadeIn(that.duration);
				}
			}
		});
	}
	if (this.audioStop && this.audioStop != 'none') {
		if (!$.isArray(this.audioStop)) this.audioStop = [this.audioStop];
		$.each(this.audioStop, function (index, audio) {
			if (that.engine.ambience) {
				if (typeof(audio) == 'string') {
					if (that.duration == 0) that.engine.ambience.stop(audio); 
					else that.engine.ambience.fadeOut(audio, that.duration);
				}
				else if (that.audioStop[index]) {
					if (that.duration == 0) that.audioStop[index].stop();
					else that.audioStop[index].fadeOut(that.duration);
				}
			}
		});
	}
};
ngdomTriggerAudioCue.prototype.save = function () { 
	return this.onceOnly ? { c: this.complete } : { };
};
ngdomTriggerAudioCue.prototype.load = function (data) { 
	if (!this.onceOnly) this.complete = data.c;
};